var vue = new Vue({
    el:"#app",
    data:{
        spots:[]
    },
    methods:{
    },
    mounted:function () {
        var param = getParams();
        var id = param.id;
        //景点列表
        ajaxGet("/spot/query",{id:param.id}, function (data) {
            vue.spots =data.data.content;
        })
    }
});

